package ooday03;

public class SwimTest {
    public static void main(String[] args) {
        Dog dog= new Dog("小白",2,"黑");
        dog.eat();
        dog.drink();
        dog.swim();
        dog.lookHome();

        Chick chick= new Chick("小白",2,"黑");
        chick.eat();
        chick.drink();
        chick.layEggs();

        Fish fish=new Fish("来福",1,"白");
        fish.eat();
        fish.drink();
        fish.swim();

    }
}
